package com.crecheng.shop.util;

import java.util.List;

public final class ListUtil {
    public static <T> T first(List<T> t){
        if (t != null) {
            return t.size()>0?t.get(0):null;
        }
        return null;
    }
}
